package com.example.edu.Service;

import com.example.edu.Dto.AIChatDtoG;
import com.example.edu.Dto.AddRecordDtoG;
import com.example.edu.Dto.ChatListDtoG;
import com.example.edu.Dto.Return;
import com.example.edu.Entity.History;
import io.reactivex.rxjava3.core.Flowable;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AIService {
    Return historyList(HttpServletRequest request);

    Return update(History history);

    Return delete(Integer historyId);

    Flowable<String> chat(AIChatDtoG aiChatData, HttpServletRequest request);

    Return chatList(ChatListDtoG chatListData);

    Return historyListM(HttpServletRequest request);

    Return addRecord(AddRecordDtoG records);

    Return addHistory(HttpServletRequest request, History history);
}
